eo\wbc\model\publics\data_model\SP_WBC_Variations D

Total Complexity 280
Dependencies 9
Dependents 5
Total lines 2,420
Lines of code 1,019
Logical lines of code 717
Comment lines 772
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
prepare_variable_item_data()
D
22
59 163
get_product_attachment_props()
D
25
33 165
prepare_woo_dropdown_attribute_html_data()
D
30 33 110
prepare_gallery_template_data()
D
31 32 101
get_variations_and_simple_type_fields()
C
32 28 99
prepare_swatches_data_by_attribute_type()
A
45 15 39
fetch_data()
A
44 11 43
prepare_swatches_data()
A
43 10 46
gallery_images_hooks()
A
43 9 53
get_default_gallery_images()
S
52 7 24
swatches_hooks()
S
49 6 33
get_default_variation_id()
S
53 6 22
get_default_attributes()
S
56 5 17
prepare_gallery_template_data_item()
S
58 5 13
wc_product_has_attribute_type()
S
54 4 21
get_available_variation_core()
S
68 4 6
sp_variations_swatches_supported_attribute_types()
S
58 2 15
sp_variations_gallery_images_supported_types()
S
62 2 11
instance()
S
71 2 6
get_available_variations()
S
71 2 6
prepare_variable_item_wrapper_data()
S
59 1 13
__construct()
S
91 1 2
get_available_variation_hook_callback()
S
78 1 3
selected_variation_attributes()
S
81 1 3
get_available_variation()
S
72 1 5